package com.ict.web.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author xc
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class ExtractMonitoringRuleDto {
    /** 抽取类型{1:按条件抽取 2：随机抽取 3：指定专家} */
    @ApiModelProperty(value = "抽取类型{1:按条件抽取 2：随机抽取 3：指定专家}")
    @NotBlank(message = "抽取类型不能为空")
    private String extractType;

    /** 人数 */
    @ApiModelProperty(value = "人数，varchar：2")
    @NotBlank(message = "人数不能为空")
    private Integer peopleNumber;

    /** 抽取规则描述 */
    @ApiModelProperty(value = "抽取规则描述，varchar：50")
    @NotBlank(message = "抽取规则描述不能为空")
    private String extractRuleDesc;

    /** 条件抽取专家-筛选条件*/
    @ApiModelProperty(value = "条件抽取专家-筛选条件")
    private ExpertInformationSheetDto expertInformationSheet;

    /** 指定专家id*/
    @ApiModelProperty(value = "指定专家id")
    private List<String> expertIdList;
}
